# 作者: 肖老师
# 2024年11月12日08时48分53秒
# xxxrlmk@163.com
str1 = 'Hello python'
for i in str1:
    print(i, end=' ')
print()
print(len(str1))

print(str1.count('lo'))
print(str1.index('lo'))
print(str1[0])

str2 = 'hello'
str2_list = list(str2)
print(str2_list)

str3 = 'how,are,you'

print(str3.split(','))

str4 = 'http://192.168.10.205:8080/view/%E4%BA%94%E5%A4%A7%E4%B8%AD%E5%BF%83/job/%E4%BA%94%E5%A4%A7%E4%B8%AD%E5%BF%83-%E5%89%8D%E7%AB%AF-%E9%99%A2%E5%89%8D%E6%80%A5%E6%95%91H5/ws/unpackage/dist/build/prehospitalH5/*zip*/prehospitalH5.zip'
str4_list = str4.split("/")

# 把一个列表中的字符串拼接起来
print(''.join(str2_list))
print(','.join(str4_list))
print(str4_list[len(str4_list)-1].replace(".zip",""))
